<template>
    <div class="nwetat">
        <div class="layout">
            <div><h2>新增专家账号</h2></div>
            <div class="body" style="border: 1px solid; padding: 20px ">
                <div class="password" v-for="item in dat" :key="item.id">
                    <span>{{item.text}}</span>
                    <input type="password" style="border: 1px solid rgb(133, 133, 133);">
                </div>
                <div class="button">
                    <input
                            style="width: 100px"
                            type="button"
                            @click="change"
                            value="保存">
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "Nwetat",
        data(){
            return{
                dat:[
                    {
                        text: '姓名：',
                    },
                    {
                        text: '帐号：',
                    },
                    {
                        text: '联系方式：',
                    },
                    {
                        text: '任职单位：',
                    },

                ]
            }
        },
        methods:{
            change:function(){
                this.$router.push({name:'Etmt'})
            }
        }
    }
</script>

<style scoped>
    .layout{
        /*float: left;*/
    }
    li{
        list-style-type: none;
    }
    h2{
        width: 150px;
        margin: 20px auto;
    }
    .password{
        margin-bottom: 20px;
        padding-right: 15px;
        display: flex;
        justify-content: flex-end;
    }
    .button{
        display: flex;
        justify-content: center;
        width: 300px;
    }
    .neeatnr{
        width: 100%;
        height: 100%;
    }
    .body{
        width: 300px;
        height: 250px;
        border: 1px solid #000;
        background-color: #EFEFEF;
        margin: 0 auto;
    }
    .flow{
        display: none;
    }
    .flows{
        display: block;
    }
</style>